package com.arpa.oms.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * OMS收款单明细
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="OmsReceivableItem对象", description="OMS收款单明细")
public class OmsReceivableItem extends OmsReceivableDetailBasic {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录标识")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "收款单号")
    @TableField("receivable_code")
    private String receivableCode;

    @ApiModelProperty(value = "应收费用标识")
    @TableField("receivable_detail_code")
    private String receivableDetailCode;


    @ApiModelProperty(value = "本次结算金额")
    @TableField("this_settled_money")
    private BigDecimal thisSettledMoney;

    @ApiModelProperty(value = "减免金额")
    @TableField("reduce_money")
    private BigDecimal reduceMoney;

    @ApiModelProperty(value = "未结算金额")
    @TableField("unsettled_money")
    private BigDecimal unsettledMoney;
}
